package com.dragon.www.smarthome.entity;

import com.dragon.www.smarthome.adapter.ICommonArrayAdapter;

import java.io.Serializable;

/**
 * 设备
 */
public class Device implements Serializable, ICommonArrayAdapter {

    private int id;

    private String name;

    private String remark;

    private String equipNo;

    private String company;

    private String equipType;

    private String ip;

    private long createTime;

    private String imgPath;

    private String templateName;

    private long roomid;

    private int deviceId;

    private byte[] status;

    //空调设备特殊用途
    public int airDeviceTemp;
    public int airDeviceMode;
    public int airDeviceSpeed;

    public Device(int id, String name, String equipNo) {
        this.id = id;
        this.name = name;
        this.equipNo = equipNo;
    }

    public Device() {
        super();
    }

    public int getId() {
        return id;
    }

    public String getequipNo() {
        return equipNo;
    }

    public void setId(int id) {
        this.id = id;
    }

    public byte[] getStatus() {
        return status;
    }

    public void setStatus(byte[] status) {
        this.status = status;
    }

    public String getDeviceName() {
        return name;
    }


    public void setDeviceName(String deviceName) {
        this.name = deviceName;
    }

    public String getDescription() {
        return remark;
    }

    public void setDescription(String description) {
        this.remark = description;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getType() {
        return equipType;
    }

    public void setType(String type) {
        this.equipType = type;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public String getImgPath() {
        return imgPath;
    }

    public void setImgPath(String imgPath) {
        this.imgPath = imgPath;
    }

    public String getTemplateName() {
        return templateName;
    }

    public void setTemplateName(String templateName) {
        this.templateName = templateName;
    }

    public int getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(int deviceId) {
        this.deviceId = deviceId;
    }

    public long getRoomid() {
        return roomid;
    }

    public void setRoomid(long roomid) {
        this.roomid = roomid;
    }
}
